﻿
using Xacml.Core;
using System;
using System.Xml;

namespace Xacml.Core.Policy
{
  public class PolicyIdReferenceElement : PolicyIdReferenceElementReadWrite
  {
    public override string PolicyId
    {
      set
      {
        throw new NotSupportedException();
      }
    }

    public override string Version
    {
      set
      {
        throw new NotSupportedException();
      }
    }

    public override string EarliestVersion
    {
      set
      {
        throw new NotSupportedException();
      }
    }

    public override string LatestVersion
    {
      set
      {
        throw new NotSupportedException();
      }
    }

    public PolicyIdReferenceElement(XmlReader reader, XacmlVersion schemaVersion)
      : base(reader, schemaVersion)
    {
    }

    public PolicyIdReferenceElement(string policyIdReference, string version, string earliestVersion, string lastestVersion, XacmlVersion schemaVersion)
      : base(policyIdReference, version, earliestVersion, lastestVersion, schemaVersion)
    {
    }
  }
}
